package com.example.day05;

public class Circle extends  Shape{
    public  double radius;


    public Circle(double radius) {
        this.radius = radius;

    }

    @Override
    public double girth() {


        return  (radius+radius)*3.14;
    }

    @Override
    public double area() {
        return radius*radius*3.14;
    }
}
